<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MuPDFCore: MuPDFCore.TesseractLanguage Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">MuPDFCore<span id="projectnumber">&#160;1.8.0</span>
   </div>
   <div id="projectbrief">Multiplatform .NET bindings for MuPDF</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_mu_p_d_f_core_1_1_tesseract_language.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_mu_p_d_f_core_1_1_tesseract_language-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">MuPDFCore.TesseractLanguage Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Represents a language used by Tesseract OCR.   
 <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a15b11b8626d4dbb7f01dd45ee4ad3176"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a15b11b8626d4dbb7f01dd45ee4ad3176">Fast</a> </td></tr>
<tr class="memdesc:a15b11b8626d4dbb7f01dd45ee4ad3176"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fast integer versions of trained models. These are models for a single language.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#a15b11b8626d4dbb7f01dd45ee4ad3176">More...</a><br /></td></tr>
<tr class="separator:a15b11b8626d4dbb7f01dd45ee4ad3176"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af64dce4052f4a0df58df7e8051a416cd"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#af64dce4052f4a0df58df7e8051a416cd">FastScripts</a> </td></tr>
<tr class="memdesc:af64dce4052f4a0df58df7e8051a416cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fast integer versions of trained models. These are models for a single script supporting one or more languages.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#af64dce4052f4a0df58df7e8051a416cd">More...</a><br /></td></tr>
<tr class="separator:af64dce4052f4a0df58df7e8051a416cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68f1943167a4334387d42e8aa1bd9da3"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a68f1943167a4334387d42e8aa1bd9da3">Best</a> </td></tr>
<tr class="memdesc:a68f1943167a4334387d42e8aa1bd9da3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Best (most accurate) trained models. These are models for a single language.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#a68f1943167a4334387d42e8aa1bd9da3">More...</a><br /></td></tr>
<tr class="separator:a68f1943167a4334387d42e8aa1bd9da3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a286b1495613fce2a6ca69f68628db742"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a286b1495613fce2a6ca69f68628db742">BestScripts</a> </td></tr>
<tr class="memdesc:a286b1495613fce2a6ca69f68628db742"><td class="mdescLeft">&#160;</td><td class="mdescRight">Best (most accurate) trained models. These are models for a single script supporting one or more languages.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#a286b1495613fce2a6ca69f68628db742">More...</a><br /></td></tr>
<tr class="separator:a286b1495613fce2a6ca69f68628db742"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a593a0b2dd246ef9520d28e2f5defc985"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a593a0b2dd246ef9520d28e2f5defc985">TesseractLanguage</a> (string prefix, string language)</td></tr>
<tr class="memdesc:a593a0b2dd246ef9520d28e2f5defc985"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using the provided <em>prefix</em>  and <em>language</em>  name, without processing them in any way.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#a593a0b2dd246ef9520d28e2f5defc985">More...</a><br /></td></tr>
<tr class="separator:a593a0b2dd246ef9520d28e2f5defc985"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa696e2259499caa64dc4601a14cc6fc5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#aa696e2259499caa64dc4601a14cc6fc5">TesseractLanguage</a> (string fileName)</td></tr>
<tr class="memdesc:aa696e2259499caa64dc4601a14cc6fc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using the specified trained model data file.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#aa696e2259499caa64dc4601a14cc6fc5">More...</a><br /></td></tr>
<tr class="separator:aa696e2259499caa64dc4601a14cc6fc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97cc7591ac4e96ba97e6d6c477354a57"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a97cc7591ac4e96ba97e6d6c477354a57">TesseractLanguage</a> (<a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a15b11b8626d4dbb7f01dd45ee4ad3176">Fast</a> language, bool useAnyCached=false)</td></tr>
<tr class="memdesc:a97cc7591ac4e96ba97e6d6c477354a57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using a fast integer version of a trained model for the specified language. The language file is downloaded from the <code>tesseract-ocr/tessdata_fast</code> GitHub repository. If it has already been downloaded and cached before, the downloaded file is re-used.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#a97cc7591ac4e96ba97e6d6c477354a57">More...</a><br /></td></tr>
<tr class="separator:a97cc7591ac4e96ba97e6d6c477354a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5707b266760ff1c09460ba54ff98f087"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a5707b266760ff1c09460ba54ff98f087">TesseractLanguage</a> (<a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a68f1943167a4334387d42e8aa1bd9da3">Best</a> language, bool useAnyCached=false)</td></tr>
<tr class="memdesc:a5707b266760ff1c09460ba54ff98f087"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using the best (most accurate) version of the trained model for the specified language. The language file is downloaded from the <code>tesseract-ocr/tessdata_best</code> GitHub repository. If it has already been downloaded and cached before, the downloaded file is re-used.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#a5707b266760ff1c09460ba54ff98f087">More...</a><br /></td></tr>
<tr class="separator:a5707b266760ff1c09460ba54ff98f087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30331ab346422a24a0b85db54e853a8d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a30331ab346422a24a0b85db54e853a8d">TesseractLanguage</a> (<a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#af64dce4052f4a0df58df7e8051a416cd">FastScripts</a> script, bool useAnyCached=false)</td></tr>
<tr class="memdesc:a30331ab346422a24a0b85db54e853a8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using a fast integer version of a trained model for the specified script. The language file is downloaded from the <code>tesseract-ocr/tessdata_fast</code> GitHub repository. If it has already been downloaded and cached before, the downloaded file is re-used.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#a30331ab346422a24a0b85db54e853a8d">More...</a><br /></td></tr>
<tr class="separator:a30331ab346422a24a0b85db54e853a8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46329e0b17b30c14f76dcef878b05af4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a46329e0b17b30c14f76dcef878b05af4">TesseractLanguage</a> (<a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a286b1495613fce2a6ca69f68628db742">BestScripts</a> script, bool useAnyCached=false)</td></tr>
<tr class="memdesc:a46329e0b17b30c14f76dcef878b05af4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using the best (most accurate) version of the trained model for the specified script. The language file is downloaded from the <code>tesseract-ocr/tessdata_best</code> GitHub repository. If it has already been downloaded and cached before, the downloaded file is re-used.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#a46329e0b17b30c14f76dcef878b05af4">More...</a><br /></td></tr>
<tr class="separator:a46329e0b17b30c14f76dcef878b05af4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a825c4fb8b8c02fe144e63de2ad52daca"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a825c4fb8b8c02fe144e63de2ad52daca">Prefix</a><code> [get]</code></td></tr>
<tr class="memdesc:a825c4fb8b8c02fe144e63de2ad52daca"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the folder where the language file is located.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#a825c4fb8b8c02fe144e63de2ad52daca">More...</a><br /></td></tr>
<tr class="separator:a825c4fb8b8c02fe144e63de2ad52daca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad72f06b070354601393980d454045de9"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#ad72f06b070354601393980d454045de9">Language</a><code> [get]</code></td></tr>
<tr class="memdesc:ad72f06b070354601393980d454045de9"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the language. The Tesseract library will assume that the trained language data file can be found at <code>Prefix/Language.traineddata</code>.   <a href="class_mu_p_d_f_core_1_1_tesseract_language.html#ad72f06b070354601393980d454045de9">More...</a><br /></td></tr>
<tr class="separator:ad72f06b070354601393980d454045de9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Represents a language used by Tesseract OCR.  </p>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l00013">13</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a68f1943167a4334387d42e8aa1bd9da3" name="a68f1943167a4334387d42e8aa1bd9da3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68f1943167a4334387d42e8aa1bd9da3">&#9670;&#160;</a></span>Best</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a68f1943167a4334387d42e8aa1bd9da3">MuPDFCore.TesseractLanguage.Best</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Best (most accurate) trained models. These are models for a single language.  </p>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l00690">690</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<a id="a286b1495613fce2a6ca69f68628db742" name="a286b1495613fce2a6ca69f68628db742"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a286b1495613fce2a6ca69f68628db742">&#9670;&#160;</a></span>BestScripts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a286b1495613fce2a6ca69f68628db742">MuPDFCore.TesseractLanguage.BestScripts</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Best (most accurate) trained models. These are models for a single script supporting one or more languages.  </p>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l01193">1193</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<a id="a15b11b8626d4dbb7f01dd45ee4ad3176" name="a15b11b8626d4dbb7f01dd45ee4ad3176"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15b11b8626d4dbb7f01dd45ee4ad3176">&#9670;&#160;</a></span>Fast</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a15b11b8626d4dbb7f01dd45ee4ad3176">MuPDFCore.TesseractLanguage.Fast</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fast integer versions of trained models. These are models for a single language.  </p>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l00028">28</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<a id="af64dce4052f4a0df58df7e8051a416cd" name="af64dce4052f4a0df58df7e8051a416cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af64dce4052f4a0df58df7e8051a416cd">&#9670;&#160;</a></span>FastScripts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#af64dce4052f4a0df58df7e8051a416cd">MuPDFCore.TesseractLanguage.FastScripts</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fast integer versions of trained models. These are models for a single script supporting one or more languages.  </p>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l00535">535</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a593a0b2dd246ef9520d28e2f5defc985" name="a593a0b2dd246ef9520d28e2f5defc985"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a593a0b2dd246ef9520d28e2f5defc985">&#9670;&#160;</a></span>TesseractLanguage() <span class="overload">[1/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.TesseractLanguage.TesseractLanguage </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>prefix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>language</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using the provided <em>prefix</em>  and <em>language</em>  name, without processing them in any way.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">prefix</td><td>The name of the folder where the language file is located. If this is <code>null</code>, the value of the environment variable <code>TESSDATA_PREFIX</code> will be used.</td></tr>
    <tr><td class="paramname">language</td><td>The name of the language. The Tesseract library will assume that the trained language data file can be found at <em>prefix</em> <code>/</code><em>language</em> <code>.traineddata</code>.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l01350">1350</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<a id="aa696e2259499caa64dc4601a14cc6fc5" name="aa696e2259499caa64dc4601a14cc6fc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa696e2259499caa64dc4601a14cc6fc5">&#9670;&#160;</a></span>TesseractLanguage() <span class="overload">[2/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.TesseractLanguage.TesseractLanguage </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using the specified trained model data file.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td>The path to the trained model data file. If the file name does not end in <code>.traineddata</code>, the file is copied to a temporary folder, and the temporary file is used by the Tesseract library.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l01360">1360</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<a id="a97cc7591ac4e96ba97e6d6c477354a57" name="a97cc7591ac4e96ba97e6d6c477354a57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97cc7591ac4e96ba97e6d6c477354a57">&#9670;&#160;</a></span>TesseractLanguage() <span class="overload">[3/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.TesseractLanguage.TesseractLanguage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a15b11b8626d4dbb7f01dd45ee4ad3176">Fast</a>&#160;</td>
          <td class="paramname"><em>language</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useAnyCached</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using a fast integer version of a trained model for the specified language. The language file is downloaded from the <code>tesseract-ocr/tessdata_fast</code> GitHub repository. If it has already been downloaded and cached before, the downloaded file is re-used.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">language</td><td>The language to use for the OCR process.</td></tr>
    <tr><td class="paramname">useAnyCached</td><td>If this is <code>true</code>, if a cached trained model file is available for the specified language, it will be used even if it is a "best (most accurate)" model. Otherwise, only cached fast integer trained models will be used.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l01387">1387</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<a id="a5707b266760ff1c09460ba54ff98f087" name="a5707b266760ff1c09460ba54ff98f087"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5707b266760ff1c09460ba54ff98f087">&#9670;&#160;</a></span>TesseractLanguage() <span class="overload">[4/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.TesseractLanguage.TesseractLanguage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a68f1943167a4334387d42e8aa1bd9da3">Best</a>&#160;</td>
          <td class="paramname"><em>language</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useAnyCached</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using the best (most accurate) version of the trained model for the specified language. The language file is downloaded from the <code>tesseract-ocr/tessdata_best</code> GitHub repository. If it has already been downloaded and cached before, the downloaded file is re-used.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">language</td><td>The language to use for the OCR process.</td></tr>
    <tr><td class="paramname">useAnyCached</td><td>If this is <code>true</code>, if a cached trained model file is available for the specified language, it will be used even if it is a "fast" model. Otherwise, only cached best (most accurate) trained models will be used.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l01453">1453</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<a id="a30331ab346422a24a0b85db54e853a8d" name="a30331ab346422a24a0b85db54e853a8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30331ab346422a24a0b85db54e853a8d">&#9670;&#160;</a></span>TesseractLanguage() <span class="overload">[5/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.TesseractLanguage.TesseractLanguage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#af64dce4052f4a0df58df7e8051a416cd">FastScripts</a>&#160;</td>
          <td class="paramname"><em>script</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useAnyCached</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using a fast integer version of a trained model for the specified script. The language file is downloaded from the <code>tesseract-ocr/tessdata_fast</code> GitHub repository. If it has already been downloaded and cached before, the downloaded file is re-used.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">script</td><td>The script to use for the OCR process.</td></tr>
    <tr><td class="paramname">useAnyCached</td><td>If this is <code>true</code>, if a cached trained model file is available for the specified script, it will be used even if it is a "best (most accurate)" model. Otherwise, only cached fast integer trained models will be used.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l01519">1519</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<a id="a46329e0b17b30c14f76dcef878b05af4" name="a46329e0b17b30c14f76dcef878b05af4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46329e0b17b30c14f76dcef878b05af4">&#9670;&#160;</a></span>TesseractLanguage() <span class="overload">[6/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MuPDFCore.TesseractLanguage.TesseractLanguage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html#a286b1495613fce2a6ca69f68628db742">BestScripts</a>&#160;</td>
          <td class="paramname"><em>script</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useAnyCached</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html" title="Represents a language used by Tesseract OCR.">TesseractLanguage</a> object using the best (most accurate) version of the trained model for the specified script. The language file is downloaded from the <code>tesseract-ocr/tessdata_best</code> GitHub repository. If it has already been downloaded and cached before, the downloaded file is re-used.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">script</td><td>The script to use for the OCR process.</td></tr>
    <tr><td class="paramname">useAnyCached</td><td>If this is <code>true</code>, if a cached trained model file is available for the specified script, it will be used even if it is a "fast" model. Otherwise, only cached best (most accurate) trained models will be used.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l01589">1589</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="ad72f06b070354601393980d454045de9" name="ad72f06b070354601393980d454045de9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad72f06b070354601393980d454045de9">&#9670;&#160;</a></span>Language</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string MuPDFCore.TesseractLanguage.Language</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The name of the language. The Tesseract library will assume that the trained language data file can be found at <code>Prefix/Language.traineddata</code>.  </p>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l00023">23</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<a id="a825c4fb8b8c02fe144e63de2ad52daca" name="a825c4fb8b8c02fe144e63de2ad52daca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a825c4fb8b8c02fe144e63de2ad52daca">&#9670;&#160;</a></span>Prefix</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string MuPDFCore.TesseractLanguage.Prefix</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The name of the folder where the language file is located.  </p>

<p class="definition">Definition at line <a class="el" href="_tesseract_language_8cs_source.html#l00018">18</a> of file <a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>MuPDFCore/<a class="el" href="_tesseract_language_8cs_source.html">TesseractLanguage.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_mu_p_d_f_core.html">MuPDFCore</a></li><li class="navelem"><a class="el" href="class_mu_p_d_f_core_1_1_tesseract_language.html">TesseractLanguage</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
